To improve; to correct one's bad habits or behavior.
He'd better shape up soon, or he'll fail the class.
To take shape; to transform into or become.
The fog has vanished and it's shaping up to be a beautiful day.